package com.example.spingbootvue.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class User {
    private  Integer  id;
    private  String password;
    private  String email;
    private  String position;
    private  String role;
    private  String account;
    private  String token;
    private  int isban;
    private  String content;
    private  int likenum;
    private  String image;
    private  String sickname;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private LocalDate remarktime;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private  LocalDate posttime;
    private  String commentimage;
    private  Integer foreignid;
    private  Integer pid;
    private  String commentmsg;
}
